<extend name="./Tpl/Plus/base.html" />
<block name="main">

<div class="col-xs-12">
<p>
<a href="{:U("Member/Plus/add?code=$plus[code]&tpl=add")}" class="btn btn-primary">
</i>发起投票 </a>
</p>
    <div class="widget-box">
        <div class="widget-header header-color-blue">
            <h5 class="bigger lighter">
                <i class="icon-table"></i>
                投票列表
            </h5>
        </div>
        <div class="widget-body">
            <div class="widget-main no-padding">
            <table class="table table-striped table-bordered table-hover">
                <thead class="thin-border-bottom">
                    <tr>
                        <th>查询关键字</th>
                        <th>投票主题</th>
                        <th>发起时间</th>
                        <th width="250">#</th>
                    </tr>
                </thead>
                <tbody>
                   <volist name="volist" id="v">
                        <tr>
                            <td>{$v.keyword}</td>
                            <td>{$v.title}</td>
                            <td>{$v.ctime|toDate}</td>
                            <td>
                            <a target="_blank" href="{:U("Mobile/Plus/index?id=$v[id]&plusid=$plus[id]")}" class="btn btn-xs btn-info"><i class="icon-laptop bigger-120"></i>预览</a>
                            <a target="_blank" href="{:U("Mobile/Plus/index?id=$v[id]&plusid=$plus[id]&ac=tongji")}" class="btn btn-xs btn-success"><i class="icon-ok bigger-120"></i>统计</a>
                            <a href="{:U("Member/Plus/edit?id=$v[id]&code=$plus[code]")}" class="btn btn-xs btn-success"><i class="icon-ok bigger-120"></i>修改</a>
                            <a delete href="{:U("Member/Plus/delete?id=$v[id]&code=$plus[code]")}" class="btn btn-xs btn-danger"><i class="icon-trash bigger-120"></i>删除</a>
                            </td>
                        </tr>
                    </volist>
                </tbody>
            </table>
            <include file="Public:pager" />
            </div>
        </div>
    </div>
</div>
</block>
